﻿<UserControl x:Class="SharpGym.Silverlight.Views.Aluno.ViewAluno"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="300"
             d:DesignWidth="400">
    <Grid>
        <TextBlock x:Name="Advertising" Text="Selecione um Aluno na lista ao lado" Style="{StaticResource TextBlockLabel}"/>
        <Grid x:Name="ContentView">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <TextBlock Text="{StaticResource NomeText}" Style="{StaticResource TextBlockLabel}" Grid.Column="0"
                       Grid.Row="0" />
            <TextBlock Text="{Binding Nome}" Style="{StaticResource TextBlockLabel}" Margin="5" Grid.Column="1"
                       Grid.Row="0" />
            <TextBlock Text="{StaticResource AniversarioText}" Style="{StaticResource TextBlockLabel}" Grid.Column="0"
                       Grid.Row="1" />
            <TextBlock Text="{Binding StringFormat=\{0:d/M/yyyy\}, Path=Aniversario}" Style="{StaticResource TextBlockLabel}"
                       Margin="5" Grid.Column="1" Grid.Row="1" />
            <TextBlock Text="{StaticResource TelefoneText}" Style="{StaticResource TextBlockLabel}" Grid.Column="0"
                       Grid.Row="2" />
            <TextBlock Text="{Binding Telefone}" Style="{StaticResource TextBlockLabel}" Margin="5" Grid.Column="1"
                       Grid.Row="2" />
        </Grid>
    </Grid>
</UserControl>